<template>
  <div id="app">
    <Header/>
    <router-view/>
    <Footer/>
  </div>
</template>

<script>
  import Header from './components/Header/Header'
  import Footer from './components/Footer/Footer'
  import {mapActions} from 'vuex'

  export default {
    name: 'App',
    components: {
      Header, Footer
    },
    mounted() {
      this.getMenuList();
    },
    methods: {
      ...mapActions(['getMenuList'])
    }
  }
</script>

<style scoped>

</style>
